package edu.gdin.ecommerce.service;

import java.util.List;

import edu.gdin.ecommerce.model.ParamDetail;
import edu.gdin.ecommerce.model.ParamType;
import edu.gdin.ecommerce.util.Pager;

public interface IParamService {
	public Pager queryParamType(String name, String desc, int currentPage);
	public boolean addParamType(ParamType type);
	public Pager queryParamDetail(ParamDetail pDetail, int cPage);
	public List<ParamType> queryAllTypes();
	public ParamType queryParamTypeById(Integer id);
	public boolean addParamDetail(ParamDetail pd);
	
	public List<ParamDetail> getAllParamDetails();
	
	public Pager queryParamDetailByParamTypeId(Integer paramTypeId, Integer cPage);
}	
